Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU-2p64ar7 - Update custom rpc wrapper representation #900

Merged
merged 7 commits into from
Apr 19, 2022

Conversation

hussein-aitlahcen
Copy link
Contributor

Issue

Fix the assets.balanceOf custom RPC by moving the expected JSON representation from hex string to string (Display).

Checklist

  • I have updated the cargo docs to reflect changes made by this PR (if applicable)
  • I have updated the book/ to reflect changes made by this PR (if applicable)

@itsbobbyzz
Copy link

Task linked: CU-2p64ar7 Asset RPC balanceOf

@codecov-commenter
Copy link

Codecov Report

Merging #900 (a8da496) into main (d0547c7) will increase coverage by 0.06%.
The diff coverage is 5.00%.

@@            Coverage Diff             @@
##             main     #900      +/-   ##
==========================================
+ Coverage   70.76%   70.82%   +0.06%     
==========================================
  Files         215      215              
  Lines       31106    31078      -28     
==========================================
  Hits        22012    22012              
+ Misses       9094     9066      -28     
Impacted Files Coverage Δ
frame/assets/rpc/src/lib.rs 3.57% <ø> (ø)
frame/assets/runtime-api/src/lib.rs 8.33% <0.00%> (ø)
frame/composable-support/src/rpc_helpers.rs 0.00% <0.00%> (ø)
frame/crowdloan-rewards/runtime-api/src/lib.rs 10.00% <0.00%> (ø)
runtime/dali/src/lib.rs 24.86% <0.00%> (ø)
runtime/picasso/src/lib.rs 19.20% <0.00%> (ø)
runtime/primitives/src/currency.rs 17.72% <0.00%> (-0.23%) ⬇️
frame/crowdloan-rewards/rpc/src/lib.rs 3.84% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d0547c7...a8da496. Read the comment docs.

@dzmitry-lahoda dzmitry-lahoda self-requested a review April 19, 2022 09:40
@hussein-aitlahcen hussein-aitlahcen merged commit 8eb9874 into main Apr 19, 2022
@hussein-aitlahcen hussein-aitlahcen deleted the rpc-assets-balanceof branch April 19, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants